package com.jevons.geo_edit.model.parse;

import java.util.ArrayList;
import java.util.List;

/**
 * @file PageListResponse
 * Created by linaisheng on 2020/5/18.
 * <p>Copyright 2020 JxGIS.</p>
 * Description：
 */
public class PageListResponse<T> {

    public int total;
    public List<T> rows;

    public PageListResponse() {
        this.total = 0;
        this.rows = new ArrayList<>();
    }

    public PageListResponse(List<T> rows) {
        this.total = rows.size();
        this.rows = rows;
    }
}
